package project;

public class process 
{
	private String	name;
	private int		arrival_time;
	private int		run_time;
	private String	username;

	/**
	 * Constructor for a process where a process is a quadruple consisting
	 * of the following parameters
	 * 
	 * @param name : name of the process
	 * @param arrival_time : time at which this process arrives
	 * @param run_time : runtime is the remaining time that a process still needs to run
	 * @param username : the user (owner) of this process.
	 */
	public process(String name, int arrival_time, int run_time, String username) {
		super();
		this.name = name;
		this.arrival_time = arrival_time;
		this.run_time = run_time;
		this.username = username;
	}

	//Setters and Getters for all the attributes.
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getArrival_time() {
		return arrival_time;
	}

	public void setArrival_time(int arrival_time) {
		this.arrival_time = arrival_time;
	}

	public int getRun_time() {
		return run_time;
	}

	public void setRun_time(int run_time) {
		this.run_time = run_time;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}


}
